package com.ansuenjob.model;

/**
 * BstPersonCertificate entity. @author MyEclipse Persistence Tools
 */

public class BstPersonCertificate implements java.io.Serializable {

	// Fields

	private Integer mid;
	private Integer perid;
	private String username;
	private Integer resid;
	private Short obtainYear;
	private Short obtainMonth;
	private Integer certType;
	private Integer certSub;
	private String certName;
	private String grade;
	private Short lang;
	private Short state;

	// Constructors

	/** default constructor */
	public BstPersonCertificate() {
	}

	/** minimal constructor */
	public BstPersonCertificate(Integer perid, String username, Integer resid) {
		this.perid = perid;
		this.username = username;
		this.resid = resid;
	}

	/** full constructor */
	public BstPersonCertificate(Integer perid, String username, Integer resid,
			Short obtainYear, Short obtainMonth, Integer certType,
			Integer certSub, String certName, String grade, Short lang,
			Short state) {
		this.perid = perid;
		this.username = username;
		this.resid = resid;
		this.obtainYear = obtainYear;
		this.obtainMonth = obtainMonth;
		this.certType = certType;
		this.certSub = certSub;
		this.certName = certName;
		this.grade = grade;
		this.lang = lang;
		this.state = state;
	}

	// Property accessors

	public Integer getMid() {
		return this.mid;
	}

	public void setMid(Integer mid) {
		this.mid = mid;
	}

	public Integer getPerid() {
		return this.perid;
	}

	public void setPerid(Integer perid) {
		this.perid = perid;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getResid() {
		return this.resid;
	}

	public void setResid(Integer resid) {
		this.resid = resid;
	}

	public Short getObtainYear() {
		return this.obtainYear;
	}

	public void setObtainYear(Short obtainYear) {
		this.obtainYear = obtainYear;
	}

	public Short getObtainMonth() {
		return this.obtainMonth;
	}

	public void setObtainMonth(Short obtainMonth) {
		this.obtainMonth = obtainMonth;
	}

	public Integer getCertType() {
		return this.certType;
	}

	public void setCertType(Integer certType) {
		this.certType = certType;
	}

	public Integer getCertSub() {
		return this.certSub;
	}

	public void setCertSub(Integer certSub) {
		this.certSub = certSub;
	}

	public String getCertName() {
		return this.certName;
	}

	public void setCertName(String certName) {
		this.certName = certName;
	}

	public String getGrade() {
		return this.grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public Short getLang() {
		return this.lang;
	}

	public void setLang(Short lang) {
		this.lang = lang;
	}

	public Short getState() {
		return this.state;
	}

	public void setState(Short state) {
		this.state = state;
	}

}